link_directories(${PROJECT_SOURCE_DIR}/lib/linux_x86/)

set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR x86)
option(HAVE_TEST_VIDEO "use simulation video for test" ON)
option(HAVE_SERIAL_PORT "use serial port for imghost" ON)
if(HAVE_TEST_VIDEO)
add_definitions(-DHAVE_TEST_VIDEO)
endif()
set(extra_lib pthread)